#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int a, b;
	printf("a,b");
	while (scanf("%d %d", &a, &b) != EOF)
	{
		if (a > b)
			printf("a=%d", a);
		else
			printf("b=%d", b);
	}
	return 0;
}